package paul.idtech.lostTraveller.creatures;

import paul.idtech.lostTraveller.model.ItemWeapon;
import android.content.Context;

public class BasePlayer extends BaseCreature{

	private ItemWeapon[] inventory = new ItemWeapon[6];
	
	public BasePlayer(Context context, int maxHealth, int maxEnergy, int defense) {
		super(context, maxHealth, maxEnergy, defense);
		
		
	}

	
	//player specific methods
	
	//sets item in inventory
	public void setInvItem(int invSlot, int id){
		
		inventory[invSlot]=new ItemWeapon(id);
		
	}
	
	
	//returns item in inventory
	public ItemWeapon getInvItem(int invSlot){
		
		return inventory[invSlot];
		
	}
	
	//returns inventory size
	public int getInvSize(){
		
		return inventory.length;
		
	}
	
	
}
